package com.ggh.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ggh.entity.Menu;
import com.ggh.vo.ShowMenuVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface MenuMapper extends BaseMapper<Menu> {

    List<ShowMenuVo> selectShowMenuByUser(Map<String,Object> map);

    List<Menu> getMenus(Map<String,Object> map);

    List<ShowMenuVo> getAlls();
}
